﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Agnes.TaskManager
{
    /// <summary>
    /// 代表一个星期的某几天
    /// 它是一个多值组合的枚举值
    /// </summary>
    [Flags]
    public enum Weekdays
    {
        /// <summary>
        /// 星期天
        /// </summary>
        Sunday = 0x1,

        /// <summary>
        /// 星期一
        /// </summary>
        Monday = 0x2,

        /// <summary>
        /// 星期二
        /// </summary>
        Tuesday = 0x4,

        /// <summary>
        /// 星期三
        /// </summary>
        Wednesday = 0x8,

        /// <summary>
        /// 星期四
        /// </summary>
        Thursday = 0x10,

        /// <summary>
        /// 星期五
        /// </summary>
        Friday = 0x20,

        /// <summary>
        /// 星期六
        /// </summary>
        Saturday = 0x40,
    }
}
